{% extends "news/base.html" %}
{% block title%}首页-新经资讯{% endblock %}
{% block script %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}
{% block menu %}
    <ul class="menu fl">
        <li class="active" data-cid="1"><a href="javascript:;">最新</a></li>
        <li data-cid="2"><a href="javascript:;">股市</a></li>
        <li data-cid="3"><a href="javascript:;">债市</a></li>
        <li data-cid="4"><a href="javascript:;">商品</a></li>
        <li data-cid="5"><a href="javascript:;">外汇</a></li>
        <li data-cid="6"><a href="javascript:;">公司</a></li>
    </ul>
{% endblock %}

{% block content %}
        <ul class="list_con fl">

        </ul>
{% endblock %}
{% block rank %}
    <div class="rank_con fr">
            <div class="rank_title">
                <h3>点击排行</h3>
            </div>
            <ul class="rank_list">
                {% for item in news_list %}
                <li><span class="{{ loop.index|index_cls }}">{{ loop.index }}</span><a href="/news/{{ item.id }}">{{ item.title }}</a></li>
                {% endfor %}
            </ul>
        </div>
{% endblock %}